/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2022. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * Description:
 * Author: huawei
 * Create: 2021-11-03
 */
#ifndef SAFETY_CFG_INPACKAGE_H
#define SAFETY_CFG_INPACKAGE_H

#define CFG_RESERVE  0xffU

/* 0:invalid mode; 1:only cfg mode; 2:cfg with read check mode; others:not use(invalid) */
typedef enum safety_cfg_mode {
    INVALID_MODE = 0U,
    CFG_WITHOUT_CHECK_MODE = 1U,
    CFG_WITH_CHECK_MODE = 2U
} SAFETY_CFG_MODE;

/* 0:invalid cfg; 1:valid cfg; others:not use(invalid cfg) */
typedef enum safety_cfg_valid {
    CFG_INVALID = 0U,
    CFG_VALID = 1U
} SAFETY_CFG_VALID;

/* 0:not pg; 1:pg; others:not use(invalid cfg) */
typedef enum module_pg_status {
    NOT_PG_TYPE = 0U,
    PG_TYPE = 1U
} MODULE_PG_STATUS;

/* 0:asil-qm; 1:asil-b; 2:asil-d:others:not use(invalid cfg) */
typedef enum safety_level_def {
    SAFETY_LEVEL_ASIL_QM = 0U,
    SAFETY_LEVEL_ASIL_B = 1U,
    SAFETY_LEVEL_ASIL_D = 2U
} SAFETY_LEVEL_DEF;

/* notes：modules without PG & safety-level-difference use 0xff */
typedef enum module_id_def {
    SYS_MODULE_ID = 0U,
    SILS_MODULE_ID = 1U,
    SILS_SUB_MODULE_ID = 2U,
    PERI_SUB_MODULE_ID = 3U,
    AO_SUB_MODULE_ID = 4U,
    HAC_SUB_MODULE_ID = 5U,
    GPU_SUB_MODULE_ID = 6U,
    ISP0_SUB_MODULE_ID = 7U,
    ISP1_SUB_MODULE_ID = 8U,
    DVPP0_SUB_MODULE_ID = 9U,
    DVPP1_SUB_MODULE_ID = 10U,
    DVPP2_SUB_MODULE_ID = 11U,
    IO_SUB_MODULE_ID = 12U,
    TS_SUB_MODULE_ID = 13U,
    CPU_CLUSTER0_MODULE_ID = 14U,
    CPU_CLUSTER1_MODULE_ID = 15U,
    CPU_CLUSTER2_MODULE_ID = 16U,
    CPU_CLUSTER3_MODULE_ID = 17U,
    AICORE0_MODULE_ID = 18U,
    AICORE1_MODULE_ID = 19U,
    AICORE2_MODULE_ID = 20U,
    AICORE3_MODULE_ID = 21U,
    AICORE4_MODULE_ID = 22U,
    AICORE5_MODULE_ID = 23U,
    AICORE6_MODULE_ID = 24U,
    AICORE7_MODULE_ID = 25U,
    AICORE8_MODULE_ID = 26U,
    AICORE9_MODULE_ID = 27U,
    AIVECTOR0_MODULE_ID = 28U,
    AIVECTOR1_MODULE_ID = 29U,
    AIVECTOR2_MODULE_ID = 30U,
    AIVECTOR3_MODULE_ID = 31U,
    AIVECTOR4_MODULE_ID = 32U,
    AIVECTOR5_MODULE_ID = 33U,
    AIVECTOR6_MODULE_ID = 34U,
    AIVECTOR7_MODULE_ID = 35U,
    MEDIA_SUB_MODULE_ID = 36U,
    LP_SUB_MODULE_ID =  37U,
    TSV_SUB_MODULE_ID = 38U,
    TSC_SUB_MODULE_ID = 39U,
    MODULE_ID_MAX = 40U,
    UNKNOW_MODULE_ID = 0xFFU
} MODULE_ID_DEF;

/* ============================ safety level cfg start(reserve) ================================== */
typedef struct {
    uint8_t vaild;         /* SAFETY_CFG_VALID for reference; others:not use(invalid cfg) */
    uint8_t pg_status;     /* MODULE_PG_STATUS for reference; others:not use(invalid cfg) */
    uint8_t safety_level;  /* SAFETY_LEVEL_DEF for reference:others:not use(invalid cfg) */
    uint8_t reserve;       /* reserve:not use, 0xff by default */
} ModuleSafetyLevel;


/* ============================ safety level cfg end(reserve) =================================== */
/* ================================ safety cfg start =========================================== */
typedef struct {
    uint8_t  cfg_mode;   /* SAFETY_CFG_MODE for reference; others:not use(invalid) */
    uint8_t  module_id;  /* MODULE_ID for reference; notes：modules without PG & safety-level-difference use 0xff */
    uint8_t  pg_status;  /* MODULE_PG_STATUS for reference; others:not use(invalid cfg) */
    uint8_t  rsv;        /* reserve:not use, 0xff by default */
    uint32_t cfg_addr;   /* reg address to be configured */
    uint32_t cfg_bitmap; /* bitmask to be configured, eg:If set bit3/4/5, then cfg_ bitmap=0x38 */
    uint32_t cfg_val;    /* values to be configured, eg:If set bit3 to 1, bit4 to 0, bit5 to 1, then cfg_val=0x28 */
} SILSafetyCfg;

SILSafetyCfg g_silSafetyCfg[] = {
    /*   mode   |   module_id   |  pg_valid  |     rsv     |  cfg_addr  | cfg_bitmap | cfg_val */
    /* SILS (AA,SCHE,SMMU,DISP) Safety Config */
    { CFG_WITH_CHECK_MODE, SILS_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCF008E00U, 0x7U, 0x2U },
    /* SILS subsys Safety Config */
    { CFG_WITH_CHECK_MODE, SILS_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCF0AF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, SILS_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCFC0F200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, SILS_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCF0CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, SILS_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCFC04000U, 0xF0707U, 0xF0707U },
    /* CFGBUS Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002124U, 0xFFFFFFFFU, 0x11111111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002128U, 0xFFFFFFFFU, 0x11111111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x8000212CU, 0xFFFFFFFFU, 0x11111111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002130U, 0xFFFFFFFFU, 0x11111111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002134U, 0xFFFFFFFFU, 0x11111111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x8000213CU, 0xFFFF0U, 0x11110U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002140U, 0xFFFFU, 0x1111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002144U, 0xFFFFFFFFU, 0x11111111U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80002148U, 0xF0FFFFU, 0x101111U },
    /* AO sysCtrl Safety Config */
    { CFG_WITH_CHECK_MODE, AO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x8000F200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, AO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x804AF200U, 0x3U, 0x0U },
    /* GIC Safety */
    { CFG_WITHOUT_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80000390U, 0x1U, 0x1U },
    { CFG_WITHOUT_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x80000E14U, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x8510100CU, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER0_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8510F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER0_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8514F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER0_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8518F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER0_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x851CF00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER1_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8520F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER1_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8524F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER1_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8528F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER1_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x852CF00CU, 0x80000007U, 0x80000001U },
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER2_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8530F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER2_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8534F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER2_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8538F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER2_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x853CF00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER3_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8540F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER3_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8544F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER3_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x8548F00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER3_MODULE_ID, PG_TYPE, CFG_RESERVE, 0x854CF00CU, 0x80000007U, 0x80000001U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x85103C54U, 0xA001FFFFU, 0xA000FFFFU },
#else
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x8500D054U, 0xA001FFFFU, 0xA000FFFFU },
#endif
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x85002080U, 0x18000U, 0x18000U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x8000F0B8U, 0x1U, 0x1U },
    /* L3T Safety Config */
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER0_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x81170004U, 0x100U, 0x100U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER1_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x81180004U, 0x100U, 0x100U },
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER2_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x81190004U, 0x100U, 0x100U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER3_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x811A0004U, 0x100U, 0x100U },
#endif
    /* MN Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x81250004U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x81250000U, 0x800U, 0x800U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0780004U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0780000U, 0x800U, 0x800U },
    /* CPU_CLUSTER Safety Config */
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER0_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x811BF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER1_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x811CF200U, 0x3U, 0x0U },
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER2_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x811DF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, CPU_CLUSTER3_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x811EF200U, 0x3U, 0x0U },
#endif
    /* IO (AA,SCHE,SMMU,DISP)Safety Config */
    { CFG_WITH_CHECK_MODE, IO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA2008E00U, 0x7U, 0x1U },
    /* IO subsys Safety Config */
    { CFG_WITH_CHECK_MODE, IO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA20CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, IO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA20AF200U, 0x3U, 0x0U },
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, IO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA20C25A8U, 0xF000000U, 0x0U },
#else
    { CFG_WITH_CHECK_MODE, IO_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA20C25A8U, 0xF0F000U, 0x0U },
#endif
    /* TS AA Safety Config */
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0480008U, 0x7FFFF3U, 0x1FFFF3U },
#else
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0380008U, 0x7FFFF3U, 0x1FFFF3U },
#endif
    /* TS SCHE Safety Config */
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB805082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB805000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB8050008U, 0x1U, 0x1U },
    /* TS SMMU Safety Config */
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB8008E00U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB8000E10U, 0x38U, 0x8U },
    /* TS DISP Safety Config */
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB80600BCU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB80600ACU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB80600A8U, 0x1U, 0x1U },
    /* TS subsys Safety Config */
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB80CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB80AF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, TS_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB80C2100U, 0xFFFFFU, 0x11101U },
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, TSV_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB90810ACU, 0x51555U, 0x51555U},
    { CFG_WITH_CHECK_MODE, TSV_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB90810B4U, 0x1U, 0x1U},
    { CFG_WITH_CHECK_MODE, TSC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xBA0810ACU, 0x51555U, 0x51555U},
    { CFG_WITH_CHECK_MODE, TSC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xBA0810B4U, 0X1U, 0x1U},
#else
    { CFG_WITH_CHECK_MODE, TSC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB90810ACU, 0x51555U, 0x51555U},
    { CFG_WITH_CHECK_MODE, TSC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB90810B4U, 0x1U, 0x1U},
#endif
    /* AIC AA Safety Config */
    { CFG_WITH_CHECK_MODE, AICORE0_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0300008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE1_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0310008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE2_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0320008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE3_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0330008U, 0x7FFFF3U, 0x1FFFF3U },
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, AICORE4_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0340008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE5_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0350008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE6_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0360008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE7_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0370008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE8_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0380008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AICORE9_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0390008U, 0x7FFFF3U, 0x1FFFF3U },
#endif
    /* AIC SCHE Safety no need config */
    /* AIC SMMU Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC2108E00U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC2100E10U, 0x38U, 0x8U },
    /* AIC DISP Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC21600BCU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC21600ACU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC21600A8U, 0x1U, 0x1U },
    /* AIC subsys Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC21CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC219F200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC21C00B8U, 0x3FFFFU, 0x9002U },
#if !defined (RUN_IN_ASCEND610LITE)
    /* AIV AA Safety Config */
    { CFG_WITH_CHECK_MODE, AIVECTOR0_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA03A0008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR1_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA03B0008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR2_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA03C0008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR3_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA03D0008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR4_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA03E0008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR5_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA03F0008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR6_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0400008U, 0x7FFFF3U, 0x1FFFF3U },
    { CFG_WITH_CHECK_MODE, AIVECTOR7_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0410008U, 0x7FFFF3U, 0x1FFFF3U },
    /* AIV SCHE Safety no need config */
    /* AIV SMMU Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC1108E00U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC1100E10U, 0x38U, 0x8U },
    /* AIV DISP Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC11600BCU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC11600ACU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC11600A8U, 0x1U, 0x1U },
    /* AIV subsys Safety Config */
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC11CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC11AF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, UNKNOW_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xC11C103CU, 0x3FFFFU, 0x9002U },
#endif
    /* sdma  Safety Config */
    { CFG_WITH_CHECK_MODE, HAC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0x880E0FFCU, 0x2U, 0x2U },

#if !defined (RUN_IN_ASCEND610LITE)
    /* DVPP0 AA Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xA0420008U, 0xFFFFF3U, 0x9FFFF3U },
    /* DVPP1 AA Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xA0430008U, 0xFFFFF3U, 0x9FFFF3U },
    /* DVPP2 AA Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0440008U, 0x7FFFF3U, 0x1FFFF3U },
#else
    /* DVPP0 AA Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xA0340008U, 0xFFFFF3U, 0x9FFFF3U },
    /* DVPP1 AA Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0350008U, 0x7FFFF3U, 0x1FFFF3U },
#endif
    /* DVPP0 SCHE0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC805082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC8050014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC805000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC8050008U, 0x1U, 0x1U },
    /* DVPP0 SCHE1 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC885082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC8850014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC885000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC8850008U, 0x1U, 0x1U },
#if !defined (RUN_IN_ASCEND610LITE)
    /* DVPP1 SCHE0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC905082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC9050014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC905000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC9050008U, 0x1U, 0x1U },
    /* DVPP1 SCHE1 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC985082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC9850014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC985000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC9850008U, 0x1U, 0x1U },
    /* DVPP2 SCHE0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA05082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA050014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA05000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA050008U, 0x1U, 0x1U },
    /* DVPP2 SCHE1 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA85082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA850014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA85000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA850008U, 0x1U, 0x1U },
#else
    /* DVPP1 SCHE0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA05082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA050014U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA05000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA050008U, 0x1U, 0x1U },
#endif
    /* DVPP0 SMMU0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC8008E00U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC8000E10U, 0x38U, 0x8U },
#if !defined (RUN_IN_ASCEND610LITE)
    /* DVPP1 SMMU0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC9008E00U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC9000E10U, 0x38U, 0x8U },
    /* DVPP2 SMMU0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA008E00U, 0x7U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA000E10U, 0x38U, 0x8U },
    /* DVPP2 SMMU1 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA808E00U, 0x7U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA800E10U, 0x38U, 0x8U },
#else
    /* DVPP1 SMMU0 Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA008E00U, 0x7U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA000E10U, 0x38U, 0x8U },
#endif
    /* DVPP0 DISP Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600A4U, 0xFFU, 0x99U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600BCU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600B0U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600B4U, 0xFFFFFFFFU, 0x20U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600B8U, 0xFFFFFFFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600ACU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80600A8U, 0x1U, 0x1U },
#if !defined (RUN_IN_ASCEND610LITE)
    /* DVPP1 DISP Safety need config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC90600A4U, 0xFFU, 0x99U },
    /* DVPP2 DISP Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600A4U, 0xFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600BCU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600B0U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600B4U, 0xFFFFFFFFU, 0x20U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600B8U, 0xFFFFFFFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600ACU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600A8U, 0x1U, 0x1U },
#else
    /* DVPP1 DISP Safety need config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600A4U, 0xFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600BCU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600B0U, 0xFFFFFFFFU, 0x1FFFFU },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600B4U, 0xFFFFFFFFU, 0x20U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600B8U, 0xFFFFFFFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600ACU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0600A8U, 0x1U, 0x1U },
#endif
   /* DVPP0 subsys Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80AF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80C2104U, 0xFFFFFU, 0x21111U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80C2108U, 0xFFU, 0x10U },
    { CFG_WITH_CHECK_MODE, DVPP0_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC80C2100U, 0x3U, 0x3U },
#if !defined (RUN_IN_ASCEND610LITE)
    /* DVPP1 subsys Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC90AF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC90CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC90C2104U, 0xFFFFFU, 0x21111U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC90C2108U, 0xFFU, 0x10U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, PG_TYPE, CFG_RESERVE, 0xC90C2100U, 0x3U, 0x3U },
    /* DVPP2 subsys Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0C2104U, 0xFFFFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0C2108U, 0xFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP2_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0C2100U, 0x3U, 0x0U },
#else
    /* DVPP1 subsys Safety Config */
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0C2104U, 0xFFFFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0C2108U, 0xFFU, 0x0U },
    { CFG_WITH_CHECK_MODE, DVPP1_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xCA0C2100U, 0x3U, 0x0U },
#endif
    /* ISP AA Safety Config */
#if !defined (RUN_IN_ASCEND610LITE)
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0460008U, 0x7FFFF3U, 0x1FFFF3U },
#else
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA0370008U, 0x7FFFF3U, 0x1FFFF3U },
#endif
    /* ISP SCHE Safety Config */
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA805082CU, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA805000CU, 0x1U, 0x1U },
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA8050008U, 0x1U, 0x1U },
    /* ISP SMMU Safety Config */
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA8008E00U, 0x7U, 0x1U },
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA8000E10U, 0x38U, 0x8U },
    /* ISP DISP Safety no need config */
    /* ISP subsys Safety Config */
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA80CF200U, 0x3U, 0x0U },
    { CFG_WITH_CHECK_MODE, ISP0_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xA80AF200U, 0x3U, 0x0U },
#if !defined (RUN_IN_ASCEND610LITE)
    /* TSC sysCtrl Safety Config */
    { CFG_WITH_CHECK_MODE, TSC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xBA082010U, 0x177U,   0x111U },
    /* TSV sysCtrl Safety Config */
    { CFG_WITH_CHECK_MODE, TSV_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB9082010U, 0x177U,   0x111U }
#else
    /* TSC sysCtrl Safety Config */
    { CFG_WITH_CHECK_MODE, TSC_SUB_MODULE_ID, NOT_PG_TYPE, CFG_RESERVE, 0xB9082010U, 0x177U,   0x111U },
#endif
};
/* =============================== safety cfg end ============================================ */
#endif /* SAFETY_CFG_INPACKAGE_H */
